SOLR
1. Solr server setup
LJava environment setup
Download linux JDK 6 from this website:
Http://java.sun.com/javase/downloads/index.jsp
After installing JDK, edit/ect/profile, add these code to the end of the file
JAVA_HOME =/usr/java/jdk1.6.0 _ 1
Set up the SOLR environment and fully import MYSQL Data, and set up solr to import mysqlSOLR Preface
Because solr is used in the project, it took more than a week to study solr. I will not talk about various problems, especially during the two days
Building HBase Two indexes using SOLR
@ (hbase) [HBase, SOLR]
Building an HBase two-level index using SOLR Overview A Business Scenario Description Two technical Scenario 1 technical programme 12 Technical programme 23 recommendations on indexes
The Java installation and tomcat installation are ignored here, And the solr-4.10.0 is used here
1. Download SOLR from Apache. Address:
Http://mirrors.hust.edu.cn/apache/lucene/solr/
2. Extract the solr-4.10.0
3. Copy the SOLR. War file in
SolrDocumentObjectiveBecause SOLRwas used in the project, it took more than a week to study SOLR, and I did not say any of the questions, especially in the two days when I was studying timing incremental indexing, I didn't know how many XXX in the
Solr learning (6) -- Solr's PHP client solr returns results in xml or json format, not like the pretty and refreshing interface we usually use google or Baidu, in fact, solr is only responsible for data query and return, and is not responsible for
Download PHP SOLR client:http://code.google.com/p/solr-php-client/downloads/list
# wget http://solr-php-client.googlecode.com/files/SolrPhpClient.r22.2009-11-09.tgz # tar XZVF Solrphpclient.r22.2009-11-09.tgz
Move the file to the Web root # mv
FL: A list separated by commas (,). It is used to specify the list to be returned in the document results.FieldSet. The default value is"*All fields.
Deftype: Specify query parser. Commonly Used deftype = Lucene, deftype = dismax, deftype =
FL: A comma-separated list that specifies the field set to be returned in the document results. The default value is "*", indicating all fields.Deftype: Specify the query parser. Commonly Used deftype = Lucene, deftype = dismax, deftype = edismaxQ:
FL: A list separated by commas (,). It is used to specify the list to be returned in the document results.FieldSet. The default value is"*All fields.
Deftype: Specify query parser. Commonly Used deftype = Lucene, deftype = dismax, deftype =
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.